import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import '@/assets/css/global.less'
import '@/assets/font/iconfont.css'
import SocketService from '@/utils/socket_service.js'

SocketService.Instance.connect()
axios.defaults.baseURL = 'http://47.95.204.103:8885/api/'


Vue.prototype.$http = axios
Vue.prototype.$socket = SocketService.Instance
Vue.prototype.$echarts = window.echarts

Vue.config.productionTip = false

new Vue({
	router,
	store,
	render: h => h(App)
}).$mount('#app')
